﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Classic.Master" Inherits="ModelViewPage<PatientDto>" %>

<%@ Import Namespace="MvcContrib.UI.Grid" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        Dane pacjenta
    </h2>
    <fieldset class="form">
        <h3>
            Dane osobowe:
        </h3>
        <div>
            <%=this.Literal(p=>p.Personal.FirstName).Label("Imię:") %>
        </div>
        <div>
            <%=this.Literal(p=>p.Personal.Surname).Label("Nazwisko:") %>
        </div>
        <div>
            <%=this.Literal(p=>p.Personal.Pesel).Label("Pesel:") %>
        </div>
        <h3>
            Dane kontaktowe:
        </h3>
        <div>
            <%=this.Literal(p=>p.Personal.Address.StreetName).Label("Ulica:") %>
        </div>
        <div>
            <%=this.Literal(p=>p.Personal.Address.HomeNumber).Label("Nr domu:") %>
        </div>
        <div>
            <%=this.Literal(p=>p.Personal.Address.City).Label("Miasto:") %>
        </div>
        <div>
            <%=this.Literal(p=>p.Personal.Address.Municipality).Label("Wojewódźtwo:") %>
        </div>
        <div>
            <%=this.Literal(p=>p.Personal.Address.PostalCode).Label("Kod pocztowy:") %>
        </div>
        <div>
            <%=this.Literal(p=>p.Personal.Address.Telephone).Label("Telefon:") %>
        </div>
        <h3>
            Lekarz prowadzący:
        </h3>
        <div>
            <%=this.Literal(p=>p.Doctor.Name).Label("Lekarz:") %>
        </div>       
    </fieldset>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ScriptContent" runat="server">
</asp:Content>
